package graph;

public class Test {

    public static void main(String[] args) {
        GraphDome<String> graph = new GraphDome<>(5);

        String[] a = new String[]{
                "a","b","c","d","e"
        };
        for (int i = 0;i<5;i++){
            graph.adddata(a[i]);
        }



        graph.addedge(0,4);
        graph.addedge(3,4);
        graph.addedge(3,1);
        graph.addedge(3,1);

        graph.showEdges();


        graph.dfs();

    }

}
